package com.changgou.goods.dao;

import com.changgou.goods.pojo.Category;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Value;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface CategoryMapper extends Mapper<Category> {

    @Select("select * from tb_category where is_menu = 1 and is_show = 1")
    List<Category> findNavigator();

}
